package org.jeecg.modules.mall.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: app用户
 * @Author: jeecg-boot
 * @Date:   2020-05-12
 * @Version: V1.0
 */
@Data
@TableName("tb_mn_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_mn_user对象", description="app用户")
public class TbMnUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**account*/
	@Excel(name = "account", width = 15)
    @ApiModelProperty(value = "account")
    private java.lang.String account;
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**pwd*/
	@Excel(name = "pwd", width = 15)
    @ApiModelProperty(value = "pwd")
    private java.lang.String pwd;
	/**state*/
	@Excel(name = "state", width = 15)
    @ApiModelProperty(value = "state")
    private java.lang.String state;
	/**agencyId*/
	@Excel(name = "agencyId", width = 15)
    @ApiModelProperty(value = "agencyId")
    private java.lang.String agencyId;
	/**errorTimes*/
	@Excel(name = "errorTimes", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "errorTimes")
    private java.util.Date errorTimes;
	/**createdAt*/
	@Excel(name = "createdAt", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "createdAt")
    private java.util.Date createdAt;
	/**updatedAt*/
	@Excel(name = "updatedAt", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "updatedAt")
    private java.util.Date updatedAt;
	/**userName*/
	@Excel(name = "userName", width = 15)
    @ApiModelProperty(value = "userName")
    private java.lang.String userName;
	/**isAgency*/
	@Excel(name = "isAgency", width = 15)
    @ApiModelProperty(value = "isAgency")
    private java.lang.String isAgency;
	/**bindAccount*/
	@Excel(name = "bindAccount", width = 15)
    @ApiModelProperty(value = "bindAccount")
    private java.lang.String bindAccount;
	/**ownRate*/
	@Excel(name = "ownRate", width = 15)
    @ApiModelProperty(value = "ownRate")
    private java.lang.String ownRate;
	/**teamRate*/
	@Excel(name = "teamRate", width = 15)
    @ApiModelProperty(value = "teamRate")
    private java.lang.String teamRate;

    @Excel(name = "phone", width = 15)
    @ApiModelProperty(value = "phone")
    private java.lang.String phone;


    @Excel(name = "pwdSalt", width = 15)
    @ApiModelProperty(value = "pwdSalt")
    private java.lang.String pwdSalt;


    @Excel(name = "idNum", width = 15)
    @ApiModelProperty(value = "idNum")
    private java.lang.String idNum;


    @Excel(name = "邀请码", width = 15)
    @ApiModelProperty(value = "邀请码")
    private java.lang.String inviteCode;

    @Excel(name = "注册码", width = 15)
    @ApiModelProperty(value = "注册码")
    private java.lang.String registerCode;


    @Excel(name = "code", width = 15)
    @ApiModelProperty(value = "code")
    @TableField(exist = false)
    private java.lang.String code;

    @Excel(name = "是否推送", width = 15)
    @ApiModelProperty(value = "是否推送")
    private java.lang.Integer isPush;

    private String avater;

    //是否查看引导
    private Integer isReadGuide;

    private String vipId;

    private String vipName;

    private String weixin;

    private Integer pushMsgState;

    private Integer firstLuckdrawStatus;

    private Integer isRewardSqt;
    private Integer isFirstBuilding;
    private Integer isGive100;
    //是否有支付密码
    private Integer hasPayPwd;

    private Integer integralAgent;
}
